
<div id="content">
    <a id="library" data-toggle="collapse" data-target="#demo">分类库</a>
    <div id="demo" class="collapse">
        <span class="label label-default">默认标签</span><br/></br>
        <span class="label label-primary">主要标签</span><br/></br>
        <span class="label label-success">成功标签</span><br/></br>
        <span class="label label-info">信息标签</span><br/></br>
        <span class="label label-warning">警告标签</span><br/></br>
        <span class="label label-danger">危险标签</span><br/></br>
        <span class="label label-warning">警告标签</span><br/></br>
        <span class="label label-info">信息标签</span><br/></br>
        <span class="label label-success">成功标签</span><br/></br>
        <span class="label label-primary">主要标签</span>
    </div>
    <div class="banner">banner</div>
    <button class="btn btn-default navbar-btn" id="upload">上传文档</button>
</div>

<div id="content-right">
    <div  align="center">
        <div class="btn-group" data-toggle="buttons">
            <label class="btn btn-default active" style="margin-left:0px">
                <input type="radio" name="options" id="option1">
                <span>用户登录</span>
            </label>
            <label class="btn btn-default">
                <input type="radio" name="options" id="option2">
                <span>商家登录</span>
            </label>
        </div>
    </div>
    <form class="form-horizontal" role="form" action="<?php echo site_url('auth/login/do_login') ?>" method="post">
        <div class="form-group form1">
            <label class="col-sm-3 control-label">账户</label>
            <div class="col-sm-8">
                <input type="text" class="form-control" id="firstname" name="account">
            </div>
        </div>
        <div class="form-group form2" style="">
            <label class="col-sm-3 control-label">密码</label>
            <div class="col-sm-8">
                <input type="text" class="form-control" id="lastname" name="password">
            </div>
        </div>
        <div class="form-group form3">
            <div class="col-sm-offset-4 col-sm-10">
                <button type="submit" class="btn btn-default">提交</button>
            </div>
        </div>
    </form>
    <div class="three">
        OR用第三方账户登录
    </div>
    <div align="center" style="margin-top:20px;">
        <img src="<?php echo base_url() ?>static/img/QQ.JPG" style="margin-right:20px;"/>
        <img src="<?php echo base_url() ?>static/img/sina.JPG"/>
    </div>
</div>

<script type="text/javascript">
    seajs.use(["jquery","bootstrap"],function(jquery){
                　　	$("#library").mouseover(function(){
                        this.click();
                    });
                    $("#upload").click(
                        function(){
                            window.location.href="<?php echo file_url('public/file/upload') ?>";
                    });


	　　});
</script>
